package com.ldc.work_1203.service.impl;

import com.ldc.work_1203.bean.Company;
import com.ldc.work_1203.mapper.CompanyMapper;
import com.ldc.work_1203.service.CompanyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CompanyServiceImpl implements CompanyService {

    @Autowired
    private CompanyMapper companyMapper;

    @Override
    public List<Company> getListCompany() {
        return companyMapper.getListCompany();
    }
}
